Conditions | 1 |
Total Lines | 9 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import { expect, firefox, type FullConfig, type Browser } from "@playwright/test"; |
||
4 | |||
5 | export default async function globalSetup(config: FullConfig): Promise<void> { |
||
6 | const browser = await firefox.launch({ |
||
7 | headless: true, |
||
8 | }); |
||
9 | |||
10 | await saveAuthenticatedState(browser, config, "[email protected]", "john", STATE_AUTHENTICATED); |
||
11 | |||
12 | await browser.close(); |
||
13 | } |
||
38 |